package cn.kgc.pojo;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class SmbmsUser {

  private long id;
  private String userCode;
  private String userName;
  private String userPassword;
  private long gender;


@JSONField(format = "yyyy-MM-dd")
@DateTimeFormat(pattern = "yyyy-MM-dd")
  private Date birthday;
  private String phone;
  private String address;
  private long userRole;
  private long createdBy;
  private Date creationDate;
  private long modifyBy;
  private Date modifyDate;
  private String idPicPath;
  private String workPicPath;
}
